package com.cancan.cloud.shop.feign;

import com.cancan.cloud.shop.domain.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(name = "product-server")
public interface ProductFeignApi {
    @RequestMapping("/api/v1/product/find")
    Product find(@RequestParam("id") Long id);
}